package com.cgs.mongo.exception;

/**
 * 解析异常
 */
public class ParserException extends RuntimeException {

    public static ParserException instance(String message) {
        return new ParserException(message);
    }

    public static ParserException instance(String message, Throwable cause) {
        return new ParserException(message, cause);
    }

    public ParserException(String message) {
        super(message);
    }

    public ParserException(String message, Throwable cause) {
        super(message, cause);
    }
}
